package com.study03;

public class Producter implements Runnable {
    private Store store;

    Producter(){};
    Producter(Store store){
        this.store = store;
    }

    @Override
    public void run(){
        int number = (int) (Math.random() * 100);
        this.store.save(number);
    }
}
